//
//  GuardNormalCell.m
//  LiveStar
//
//  Created by 漪珊 on 2017/4/13.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "GuardNormalCell.h"
#import "GuardListModel.h"
@implementation GuardNormalCell

- (void)awakeFromNib {
    [super awakeFromNib];
    kImageViewRadius(self.guardIcon, self.guardIcon.width/2);
}

- (void)setGuardListModel:(GuardListModel *)guardListModel {
    _guardListModel = guardListModel;
    [self.guardIcon sd_setImageWithURL:[NSURL URLWithString:guardListModel.u_avatar] placeholderImage:nil];
    self.guardLevel.image = kSET_IMAGE(@"guard_level3");
    self.guardName.text = guardListModel.u_nickname;
    self.guardNums.text = KString(guardListModel.money);
}
@end
